namespace Antivirus.Domain.Logic.Scanners
{
    using System;

    public class FileScanCompletedEventArgs : EventArgs
    {
        public FileScanCompletedEventArgs(string filename, VirusSignature virusSignature, int totalFilesCount)
        {
            Filename = filename;
            VirusSignature = virusSignature;
            TotalFilesCount = totalFilesCount;
        }

        public string Filename { get; private set; }

        public VirusSignature VirusSignature { get; private set; }

        public int TotalFilesCount { get; private set; }

        public bool IsVirus
        {
            get { return VirusSignature != null; }
        }
    }
}